package com.longshihan.testdagger;

import com.longshihan.testdagger.ano.ActivityScope;

import dagger.Component;

/**
 * Created by longshihan on 2017/7/2.
 * inject之后会从这边找实例,关联到module
 */
@ActivityScope
@Component(modules = {UserModele.class},dependencies = AppComponent.class)
public interface UserComponet {
    //关联到activity
    void inject(MainActivity activity);

}
